import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/admin/user/channel_list.html',
    method: 'post',
    data
  })
}

// export function fetchDelQudao() {
//   return request({
//     url: '/settle/index/channel_del.html',
//     method: 'get'
//   })
// }

// export function fetchOpenQudao() {
//   return request({
//     url: '/settle/index/channel_open.html',
//     method: 'get'
//   })
// }

// export function fetchAllQudao() {
//   return request({
//     url: '/settle/index/get_all_channel',
//     method: 'get'
//   })
// }

export function stopQudao(data) {
  return request({
    url: '/settle/index/channel_del.html',
    method: 'post',
    data
  })
}

export function openQudao(data) {
  return request({
    url: '/settle/index/channel_open.html',
    method: 'post',
    data
  })
}
